#include"namepipe.hpp"

int main()
{

Namepipe fifo(com_path,User);
if(fifo.openforwrite())
 {
  cout<<"send open namepipe done"<<endl;
  while(true)
     {
     cout<<"please Enter>";
     string message;
     getline(cin,message);
     fifo.writenamepipe(message);
         
     }



 }


 return 0;





}